﻿namespace Ongoal.Quotation.Service.Param
{
    /// <summary>
    /// 查询参数
    /// </summary>
    public class WhereParam
    {
        /// <summary>
        /// 查询字段
        /// </summary>
        public string? WhereFiledName { get; set; }

        /// <summary>
        /// 查询字段值
        /// </summary>
        public object? WhereFiledValue { get; set; }

        /// <summary>
        /// 查询方式（=或like）
        /// </summary>
        public string WhereMode { get; set; } = "=";

        /// <summary>
        /// 查询条件（or或and）
        /// </summary>
        public string? WhereCondition { get; set; } = "or";

        /// <summary>
        /// 全集合
        /// </summary>
        public List<List<object>> WhereValue { get; set; } = new List<List<object>>() { };
    }
}
